package com.hk.migration.db.craftsman;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 销售跟踪记录
 */
@Data
@Table(name = "crm_follow_up")
public class CrmFollowUp implements Serializable {
    /**
     * 跟踪记录 跟timeline Id
     */
    @Id
    @Column(name = "follow_id")
    private Long followId;

    /**
     * 公司Id
     */
    @Column(name = "company_id")
    private Long companyId;

    /**
     * 学生Id
     */
    @Column(name = "student_id")
    private Long studentId;

    /**
     * 关键记录
     */
    @Column(name = "key_follow")
    private Integer keyFollow;

    /**
     * 下次联系时间
     */
    @Column(name = "next_contact_time")
    private Date nextContactTime;

    /**
     * 跟踪记录
     */
    @Column(name = "follow_remark")
    private String followRemark;

    /**
     * 跟踪类型
     */
    @Column(name = "follow_type")
    private String followType;

    /**
     * 记录类型
     */
    @Column(name = "follow_category")
    private String followCategory;

    /**
     * 类型明细
     */
    @Column(name = "follow_sub_category")
    private String followSubCategory;

    /**
     * 意向
     */
    @Column(name = "intent")
    private String intent;

    /**
     * 创建人Id
     */
    @Column(name = "create_user_id")
    private Long createUserId;

    /**
     * 创建人
     */
    @Column(name = "create_account")
    private String createAccount;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 最后修改时间
     */
    @Column(name = "modified_time")
    private Date modifiedTime;

    /**
     * 是否接通
     */
    @Column(name = "connected")
    private Integer connected;

    /**
     * hello kid后台数据ID
     */
    @Column(name = "hk_id")
    private Long hkId;

    private static final long serialVersionUID = 1L;
}
